Average sentence length |
---|
13.5811 |
sentence length | percentage |
---|---|
2 | 0.0267 |
3 | 0.8967 |
4 | 2.9167 |
5 | 4.8200 |
6 | 6.1500 |
7 | 6.3933 |
8 | 6.8033 |
9 | 6.5633 |
10 | 6.2367 |
11 | 5.4933 |
12 | 5.5967 |
13 | 5.1567 |
14 | 4.6333 |
15 | 4.4500 |
16 | 4.2733 |
17 | 3.6333 |
18 | 3.3900 |
19 | 3.1433 |
20 | 2.8700 |
21 | 2.3033 |
22 | 2.1200 |
23 | 1.8433 |
24 | 1.6700 |
25 | 1.4433 |
26 | 1.2333 |
27 | 1.0267 |
28 | 0.9367 |
29 | 0.7233 |
30 | 0.7133 |
31 | 0.5567 |
32 | 0.4333 |
33 | 0.4233 |
34 | 0.3000 |
35 | 0.2833 |
36 | 0.1767 |
37 | 0.1600 |
38 | 0.0833 |
39 | 0.0500 |
40 | 0.0467 |
41 | 0.0067 |
42 | 0.0100 |
43 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters